package com.thinkgem.jeesite.modules.sys.entity;


import com.thinkgem.jeesite.common.persistence.MyDataEntity;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;
import com.thinkgem.jeesite.modules.product.entity.attribute.TbProductAttribute;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class TbShopProduct extends MyDataEntity<TbShopProduct> {
    private Integer id;

    private Integer shopId;

    private Integer productId;

    private BigDecimal price;

    private Integer storeNum;
    private String productSize;
    private String color;
    private String gender;
    private Integer alertStoreNum;

    private Byte isUseMqWallet;

    private Date createTime;

    private Date updateTime;

    private Byte isDelete;

    private Byte reserveFlag;
    private Date reserveStartTime;
    private Date reserveEndTime;
    private String reserveStartTime01;
    private String reserveEndTime01;
    private String reserveStartTime02;
    private String reserveEndTime02;
    private String productName;
    private String attr;
    private String categoryName;
    private Integer status;
    private String isStatus;//是否上架
  /*  //添加字段*/
    private String uid;

    private String ismainStoreNum;

    private String isWyMallet;
    public String getIsmainStoreNum() {
        return ismainStoreNum;
    }

    public void setIsmainStoreNum(String ismainStoreNum) {
        this.ismainStoreNum = ismainStoreNum;
    }

    private String size;//单位
    private String reflage;//商品类型

    private Byte shopCategoyr;//判断该商品是否是海外商品

    private String barcode;//条形码

    private String img;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
    @ExcelField(title="是否可用物业钱包", align=2, sort=7)
    public String getIsWyMallet() {
        return isWyMallet;
    }

    public void setIsWyMallet(String isWyMallet) {
        this.isWyMallet = isWyMallet;
    }

    private List<TbProductAttribute> productAttr;

    public List<TbProductAttribute> getProductAttr() {
        return productAttr;
    }

    public void setProductAttr(List<TbProductAttribute> productAttr) {
        this.productAttr = productAttr;
    }
    @ExcelField(title="二级类别", align=2, sort=2)
    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
    @ExcelField(title="商品属性", align=2, sort=4)
    public String getAttr() {
        return attr;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
    @ExcelField(title="商品类别", align=2, sort=1)
    public String getReflage() {
        return reflage;
    }

    public void setReflage(String reflage) {
        this.reflage = reflage;
    }

    public void setAttr(String attr) {
        this.attr = attr;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
    @ExcelField(title="商品名称", align=2, sort=3)
    public String getProductName() {
        return productName;
    }

    public TbShopProduct() {
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getIsStatus() {
        return isStatus;
    }

    public void setIsStatus(String isStatus) {
        this.isStatus = isStatus;
    }

    public Byte getShopCategoyr() {
        return shopCategoyr;
    }

    public void setShopCategoyr(Byte shopCategoyr) {
        this.shopCategoyr = shopCategoyr;
    }

    public TbShopProduct(Integer shopId, Integer productId, BigDecimal price, Integer storeNum, String productSize, String color, Byte isUseMqWallet, Date createTime, Date updateTime) {
        this.shopId = shopId;
        this.productId = productId;
        this.price = price;
        this.storeNum = storeNum;
        this.productSize = productSize;
        this.color = color;
        this.isUseMqWallet = isUseMqWallet;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }
    @ExcelField(title="商品价格", align=2, sort=5)
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    @ExcelField(title="商品库存", align=2, sort=6)
    public Integer getStoreNum() {
        return storeNum;
    }

    public void setStoreNum(Integer storeNum) {
        this.storeNum = storeNum;
    }

    public Integer getAlertStoreNum() {
        return alertStoreNum;
    }

    public void setAlertStoreNum(Integer alertStoreNum) {
        this.alertStoreNum = alertStoreNum;
    }

    public Byte getIsUseMqWallet() {
        return isUseMqWallet;
    }

    public void setIsUseMqWallet(Byte isUseMqWallet) {
        this.isUseMqWallet = isUseMqWallet;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public String getProductSize() {
        return productSize;
    }

    public void setProductSize(String productSize) {
        this.productSize = productSize;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Byte getReserveFlag() {
        return reserveFlag;
    }

    public void setReserveFlag(Byte reserveFlag) {
        this.reserveFlag = reserveFlag;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getReserveStartTime() {
        return reserveStartTime;
    }

    public void setReserveStartTime(Date reserveStartTime) {
        this.reserveStartTime = reserveStartTime;
    }

    public Date getReserveEndTime() {
        return reserveEndTime;
    }

    public void setReserveEndTime(Date reserveEndTime) {
        this.reserveEndTime = reserveEndTime;
    }

    public String getReserveStartTime01() {
        return reserveStartTime01;
    }

    public void setReserveStartTime01(String reserveStartTime01) {
        this.reserveStartTime01 = reserveStartTime01;
    }

    public String getReserveEndTime01() {
        return reserveEndTime01;
    }

    public void setReserveEndTime01(String reserveEndTime01) {
        this.reserveEndTime01 = reserveEndTime01;
    }

    public String getReserveStartTime02() {
        return reserveStartTime02;
    }

    public void setReserveStartTime02(String reserveStartTime02) {
        this.reserveStartTime02 = reserveStartTime02;
    }

    public String getReserveEndTime02() {
        return reserveEndTime02;
    }

    public void setReserveEndTime02(String reserveEndTime02) {
        this.reserveEndTime02 = reserveEndTime02;
    }
}